/**
 * 
 */
package ru.olympus.antonyhands.ao.client.widgets;

import java.util.List;

import ru.olympus.antonyhands.ao.shared.item.CraftInfoDTO;

import com.google.gwt.user.client.ui.FlexTable;

/**
 * @author AntonyHands
 * @since 29.02.2012
 */
public class CraftableItemsTable extends FlexTable {

	public void setDefaultValues(List<CraftInfoDTO> craftableItems)
	{
		removeAllRows();
		for(int i = 0; i < craftableItems.size(); i++)
			setHTML(i, 0, craftableItems.get(i).getResultItem().getTitle());
	}
}
